package com.framework.file.mapper;

import com.framework.file.model.SysFile;
import com.framework.file.param.SysFileParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

@Mapper
public interface SysFileMapper {
    Page<SysFile> listPage(@Param("param") SysFileParam param, PageRequest pageRequest);

    List<SysFile> getFileByModuleAndForm(@Param("param") SysFile sysFile);
}
